package com.example.commandpattern.entity;

/**
 * @author ash
 * @description
 * @create 2023/2/22  22:08:20
 * @className Command
 * @verson 1.0.0
 */
public abstract class Command {

    public Receiver receiver;

    public Command(Receiver receiver) {
        this.receiver = receiver;
    }

    public abstract void execute();
}
